package org.jeecg.entity;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class MenuItem {

    public MenuItem(String foodShortName,String foodName,String price,Integer unitType,Integer minUnit,Integer maxUnit){
        this.foodShortName = foodShortName;
        this.foodName = foodName;
        this.price = new BigDecimal(price);
        this.unitType = unitType;
        this.minUnit = minUnit;
        this.maxUnit = maxUnit;
    }
    /**
     * 菜名
     */
    private String foodName;
    /**
     * 菜名-缩写
     */
    private String foodShortName;
    /**
     * 菜价
     */
    private BigDecimal price;
    /**
     * 1.斤重
     * 2.个
     */
    private Integer unitType;
    /**
     * 最小 斤重 或 个
     */
    private Integer minUnit; /**
     * 最大 斤重 或 个
     */
    private Integer maxUnit;



}
